3.1.87 \(\int \frac {\sin ^2(a+b x)}{\sin ^{\frac {5}{2}}(2 a+2 b x)} \, dx\) [87]

Optimal. Leaf size=48 \[ \frac {F\left (\left .a-\frac {\pi }{4}+b x\right |2\right )}{6 b}+\frac {\sin ^2(a+b x)}{3 b \sin ^{\frac {3}{2}}(2 a+2 b x)} \]

[Out]

-1/6*(sin(a+1/4*Pi+b*x)^2)^(1/2)/sin(a+1/4*Pi+b*x)*EllipticF(cos(a+1/4*Pi+b*x),2^(1/2))/b+1/3*sin(b*x+a)^2/b/s
in(2*b*x+2*a)^(3/2)

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {4381, 2720} \begin {gather*} \frac {\sin ^2(a+b x)}{3 b \sin ^{\frac {3}{2}}(2 a+2 b x)}+\frac {F\left (\left .a+b x-\frac {\pi }{4}\right |2\right )}{6 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sin[a + b*x]^2/Sin[2*a + 2*b*x]^(5/2),x]

[Out]

EllipticF[a - Pi/4 + b*x, 2]/(6*b) + Sin[a + b*x]^2/(3*b*Sin[2*a + 2*b*x]^(3/2))

Rule 2720

Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/d)*EllipticF[(1/2)*(c - Pi/2 + d*x), 2], x] /; FreeQ
[{c, d}, x]

Rule 4381

Int[((e_.)*sin[(a_.) + (b_.)*(x_)])^(m_)*((g_.)*sin[(c_.) + (d_.)*(x_)])^(p_), x_Symbol] :> Simp[(-(e*Sin[a +
b*x])^m)*((g*Sin[c + d*x])^(p + 1)/(2*b*g*(p + 1))), x] + Dist[e^2*((m + 2*p + 2)/(4*g^2*(p + 1))), Int[(e*Sin
[a + b*x])^(m - 2)*(g*Sin[c + d*x])^(p + 2), x], x] /; FreeQ[{a, b, c, d, e, g}, x] && EqQ[b*c - a*d, 0] && Eq
Q[d/b, 2] &&  !IntegerQ[p] && GtQ[m, 1] && LtQ[p, -1] && NeQ[m + 2*p + 2, 0] && (LtQ[p, -2] || EqQ[m, 2]) && I
ntegersQ[2*m, 2*p]

Rubi steps

\begin {align*} \int \frac {\sin ^2(a+b x)}{\sin ^{\frac {5}{2}}(2 a+2 b x)} \, dx &=\frac {\sin ^2(a+b x)}{3 b \sin ^{\frac {3}{2}}(2 a+2 b x)}+\frac {1}{6} \int \frac {1}{\sqrt {\sin (2 a+2 b x)}} \, dx\\ &=\frac {F\left (\left .a-\frac {\pi }{4}+b x\right |2\right )}{6 b}+\frac {\sin ^2(a+b x)}{3 b \sin ^{\frac {3}{2}}(2 a+2 b x)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.20, size = 83, normalized size = 1.73 \begin {gather*} \frac {\sec ^2(a+b x) \sqrt {\sin (2 (a+b x))}-\frac {\sqrt {2} F\left (\text {ArcSin}(\cos (a+b x)-\sin (a+b x))\left |\frac {1}{2}\right .\right ) (\cos (a+b x)+\sin (a+b x))}{\sqrt {1+\sin (2 (a+b x))}}}{12 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sin[a + b*x]^2/Sin[2*a + 2*b*x]^(5/2),x]

[Out]

(Sec[a + b*x]^2*Sqrt[Sin[2*(a + b*x)]] - (Sqrt[2]*EllipticF[ArcSin[Cos[a + b*x] - Sin[a + b*x]], 1/2]*(Cos[a +
 b*x] + Sin[a + b*x]))/Sqrt[1 + Sin[2*(a + b*x)]])/(12*b)

________________________________________________________________________________________

Maple [A]
time = 53.14, size = 123, normalized size = 2.56

method result size
default \(\frac {\sqrt {\sin \left (2 x b +2 a \right )+1}\, \sqrt {-2 \sin \left (2 x b +2 a \right )+2}\, \sqrt {-\sin \left (2 x b +2 a \right )}\, \EllipticF \left (\sqrt {\sin \left (2 x b +2 a \right )+1}, \frac {\sqrt {2}}{2}\right ) \sin \left (2 x b +2 a \right )-2 \left (\cos ^{2}\left (2 x b +2 a \right )\right )+2 \cos \left (2 x b +2 a \right )}{12 \sin \left (2 x b +2 a \right )^{\frac {3}{2}} \cos \left (2 x b +2 a \right ) b}\) \(123\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(b*x+a)^2/sin(2*b*x+2*a)^(5/2),x,method=_RETURNVERBOSE)

[Out]

1/12/sin(2*b*x+2*a)^(3/2)/cos(2*b*x+2*a)*((sin(2*b*x+2*a)+1)^(1/2)*(-2*sin(2*b*x+2*a)+2)^(1/2)*(-sin(2*b*x+2*a
))^(1/2)*EllipticF((sin(2*b*x+2*a)+1)^(1/2),1/2*2^(1/2))*sin(2*b*x+2*a)-2*cos(2*b*x+2*a)^2+2*cos(2*b*x+2*a))/b

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(b*x+a)^2/sin(2*b*x+2*a)^(5/2),x, algorithm="maxima")

[Out]

integrate(sin(b*x + a)^2/sin(2*b*x + 2*a)^(5/2), x)

________________________________________________________________________________________

Fricas [C] Result contains complex when optimal does not.
time = 0.64, size = 92, normalized size = 1.92 \begin {gather*} -\frac {\sqrt {2 i} \cos \left (b x + a\right )^{2} {\rm ellipticF}\left (\cos \left (b x + a\right ) + i \, \sin \left (b x + a\right ), -1\right ) + \sqrt {-2 i} \cos \left (b x + a\right )^{2} {\rm ellipticF}\left (\cos \left (b x + a\right ) - i \, \sin \left (b x + a\right ), -1\right ) - \sqrt {2} \sqrt {\cos \left (b x + a\right ) \sin \left (b x + a\right )}}{12 \, b \cos \left (b x + a\right )^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(b*x+a)^2/sin(2*b*x+2*a)^(5/2),x, algorithm="fricas")

[Out]

-1/12*(sqrt(2*I)*cos(b*x + a)^2*ellipticF(cos(b*x + a) + I*sin(b*x + a), -1) + sqrt(-2*I)*cos(b*x + a)^2*ellip
ticF(cos(b*x + a) - I*sin(b*x + a), -1) - sqrt(2)*sqrt(cos(b*x + a)*sin(b*x + a)))/(b*cos(b*x + a)^2)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(b*x+a)**2/sin(2*b*x+2*a)**(5/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(b*x+a)^2/sin(2*b*x+2*a)^(5/2),x, algorithm="giac")

[Out]

integrate(sin(b*x + a)^2/sin(2*b*x + 2*a)^(5/2), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\sin \left (a+b\,x\right )}^2}{{\sin \left (2\,a+2\,b\,x\right )}^{5/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(a + b*x)^2/sin(2*a + 2*b*x)^(5/2),x)

[Out]

int(sin(a + b*x)^2/sin(2*a + 2*b*x)^(5/2), x)

________________________________________________________________________________________